package com.luli.service.impl;

import com.luli.mapper.UserMapper;
import com.luli.pojo.User;
import com.luli.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.UUID;

/**
 * 陆离
 * 2024/10/11 9:36:20
 */
@Service
public class IUserServiceImpl implements IUserService {
    @Autowired
    private UserMapper userMapper;

    public int addUser() {
        userMapper.addUser(new User(13, "root", "password"));
        int a = 10 / 0;
        userMapper.updateUser(new User(13,"lzp","234"));
        return 1;
    }
}
